/// id : "1837039762416287834"
/// isDel : 0
/// createBy : null
/// updateBy : null
/// createTime : 1726819384
/// updateTime : 1727076768
/// applyUserIdcard : "140622200106059878"
/// applyUserName : null
/// applyUserPhone : null
/// applyUserHeadPhoto : null
/// applyType : 1
/// applyTypeStr : "马伟强提交的出队申请"
/// teamType : "ZB"
/// outTeamId : "1767369028910960672"
/// outTeamName : "测试队伍"
/// outTeamStatus : 2
/// putTeamId : "-1"
/// putTeamName : "-1"
/// putTeamStatus : -1
/// createTeamId : "-1"
/// createTeamName : null
/// content : "测试"
/// status : 2
/// statusStr : "审批拒绝"
/// rejectReason : ""
/// solveUserIdcard : "141127199405110135"
/// solveUserName : null
/// solveUserHeadPhoto : null
/// areaLsgx : "1766047460587868205"
/// areaXzqh : "578408568538007163"
/// selectType : null
/// teamId : null
/// sysUserId : null
/// submitDate : "2024.09.20"
/// sysType : null
/// isChange : 1
/// teamAllName : null
/// teamAdjustEventList : [{"id":"1837039762479202355","isDel":0,"createBy":null,"updateBy":null,"createTime":1726819384,"updateTime":1726819384,"recordId":"1837039762416287834","ststus":"-1","reason":"测试","remark":"发起申请","submitUserIdcard":"140622200106059878","submitUserName":"马伟强","submitUserHeadImg":null,"submitDate":"09.20 16:03"},{"id":"1838119308850831366","isDel":0,"createBy":null,"updateBy":null,"createTime":1727076768,"updateTime":1727076768,"recordId":"1837039762416287834","ststus":"2","reason":"","remark":"郭岩 (出队已拒绝)","submitUserIdcard":"141127199405110135","submitUserName":"郭岩","submitUserHeadImg":"user/head_1720265592295837764.jpg","submitDate":"09.23 15:32"}]

class OrganizationApproveItemDto {
  OrganizationApproveItemDto({
      String? id, 
      num? isDel, 
      dynamic createBy, 
      dynamic updateBy, 
      num? createTime, 
      num? updateTime, 
      String? applyUserIdcard, 
      dynamic applyUserName, 
      dynamic applyUserPhone, 
      dynamic applyUserHeadPhoto, 
      num? applyType, 
      String? applyTypeStr, 
      String? teamType, 
      String? outTeamId, 
      String? outTeamName, 
      num? outTeamStatus, 
      String? putTeamId, 
      String? putTeamName, 
      num? putTeamStatus, 
      String? createTeamId, 
      dynamic createTeamName, 
      String? content, 
      num? status, 
      String? statusStr, 
      String? rejectReason, 
      String? solveUserIdcard, 
      dynamic solveUserName, 
      dynamic solveUserHeadPhoto, 
      String? areaLsgx, 
      String? areaXzqh, 
      dynamic selectType, 
      dynamic teamId, 
      dynamic sysUserId, 
      String? submitDate, 
      dynamic sysType, 
      num? isChange, 
      dynamic teamAllName, 
      List<TeamAdjustEventList>? teamAdjustEventList,}){
    _id = id;
    _isDel = isDel;
    _createBy = createBy;
    _updateBy = updateBy;
    _createTime = createTime;
    _updateTime = updateTime;
    _applyUserIdcard = applyUserIdcard;
    _applyUserName = applyUserName;
    _applyUserPhone = applyUserPhone;
    _applyUserHeadPhoto = applyUserHeadPhoto;
    _applyType = applyType;
    _applyTypeStr = applyTypeStr;
    _teamType = teamType;
    _outTeamId = outTeamId;
    _outTeamName = outTeamName;
    _outTeamStatus = outTeamStatus;
    _putTeamId = putTeamId;
    _putTeamName = putTeamName;
    _putTeamStatus = putTeamStatus;
    _createTeamId = createTeamId;
    _createTeamName = createTeamName;
    _content = content;
    _status = status;
    _statusStr = statusStr;
    _rejectReason = rejectReason;
    _solveUserIdcard = solveUserIdcard;
    _solveUserName = solveUserName;
    _solveUserHeadPhoto = solveUserHeadPhoto;
    _areaLsgx = areaLsgx;
    _areaXzqh = areaXzqh;
    _selectType = selectType;
    _teamId = teamId;
    _sysUserId = sysUserId;
    _submitDate = submitDate;
    _sysType = sysType;
    _isChange = isChange;
    _teamAllName = teamAllName;
    _teamAdjustEventList = teamAdjustEventList;
}

  OrganizationApproveItemDto.fromJson(dynamic json) {
    _id = json['id'];
    _isDel = json['isDel'];
    _createBy = json['createBy'];
    _updateBy = json['updateBy'];
    _createTime = json['createTime'];
    _updateTime = json['updateTime'];
    _applyUserIdcard = json['applyUserIdcard'];
    _applyUserName = json['applyUserName'];
    _applyUserPhone = json['applyUserPhone'];
    _applyUserHeadPhoto = json['applyUserHeadPhoto'];
    _applyType = json['applyType'];
    _applyTypeStr = json['applyTypeStr'];
    _teamType = json['teamType'];
    _outTeamId = json['outTeamId'];
    _outTeamName = json['outTeamName'];
    _outTeamStatus = json['outTeamStatus'];
    _putTeamId = json['putTeamId'];
    _putTeamName = json['putTeamName'];
    _putTeamStatus = json['putTeamStatus'];
    _createTeamId = json['createTeamId'];
    _createTeamName = json['createTeamName'];
    _content = json['content'];
    _status = json['status'];
    _statusStr = json['statusStr'];
    _rejectReason = json['rejectReason'];
    _solveUserIdcard = json['solveUserIdcard'];
    _solveUserName = json['solveUserName'];
    _solveUserHeadPhoto = json['solveUserHeadPhoto'];
    _areaLsgx = json['areaLsgx'];
    _areaXzqh = json['areaXzqh'];
    _selectType = json['selectType'];
    _teamId = json['teamId'];
    _sysUserId = json['sysUserId'];
    _submitDate = json['submitDate'];
    _sysType = json['sysType'];
    _isChange = json['isChange'];
    _teamAllName = json['teamAllName'];
    if (json['teamAdjustEventList'] != null) {
      _teamAdjustEventList = [];
      json['teamAdjustEventList'].forEach((v) {
        _teamAdjustEventList?.add(TeamAdjustEventList.fromJson(v));
      });
    }
  }
  String? _id;
  num? _isDel;
  dynamic _createBy;
  dynamic _updateBy;
  num? _createTime;
  num? _updateTime;
  String? _applyUserIdcard;
  dynamic _applyUserName;
  dynamic _applyUserPhone;
  dynamic _applyUserHeadPhoto;
  num? _applyType;
  String? _applyTypeStr;
  String? _teamType;
  String? _outTeamId;
  String? _outTeamName;
  num? _outTeamStatus;
  String? _putTeamId;
  String? _putTeamName;
  num? _putTeamStatus;
  String? _createTeamId;
  dynamic _createTeamName;
  String? _content;
  num? _status;
  String? _statusStr;
  String? _rejectReason;
  String? _solveUserIdcard;
  dynamic _solveUserName;
  dynamic _solveUserHeadPhoto;
  String? _areaLsgx;
  String? _areaXzqh;
  dynamic _selectType;
  dynamic _teamId;
  dynamic _sysUserId;
  String? _submitDate;
  dynamic _sysType;
  num? _isChange;
  dynamic _teamAllName;
  List<TeamAdjustEventList>? _teamAdjustEventList;
OrganizationApproveItemDto copyWith({  String? id,
  num? isDel,
  dynamic createBy,
  dynamic updateBy,
  num? createTime,
  num? updateTime,
  String? applyUserIdcard,
  dynamic applyUserName,
  dynamic applyUserPhone,
  dynamic applyUserHeadPhoto,
  num? applyType,
  String? applyTypeStr,
  String? teamType,
  String? outTeamId,
  String? outTeamName,
  num? outTeamStatus,
  String? putTeamId,
  String? putTeamName,
  num? putTeamStatus,
  String? createTeamId,
  dynamic createTeamName,
  String? content,
  num? status,
  String? statusStr,
  String? rejectReason,
  String? solveUserIdcard,
  dynamic solveUserName,
  dynamic solveUserHeadPhoto,
  String? areaLsgx,
  String? areaXzqh,
  dynamic selectType,
  dynamic teamId,
  dynamic sysUserId,
  String? submitDate,
  dynamic sysType,
  num? isChange,
  dynamic teamAllName,
  List<TeamAdjustEventList>? teamAdjustEventList,
}) => OrganizationApproveItemDto(  id: id ?? _id,
  isDel: isDel ?? _isDel,
  createBy: createBy ?? _createBy,
  updateBy: updateBy ?? _updateBy,
  createTime: createTime ?? _createTime,
  updateTime: updateTime ?? _updateTime,
  applyUserIdcard: applyUserIdcard ?? _applyUserIdcard,
  applyUserName: applyUserName ?? _applyUserName,
  applyUserPhone: applyUserPhone ?? _applyUserPhone,
  applyUserHeadPhoto: applyUserHeadPhoto ?? _applyUserHeadPhoto,
  applyType: applyType ?? _applyType,
  applyTypeStr: applyTypeStr ?? _applyTypeStr,
  teamType: teamType ?? _teamType,
  outTeamId: outTeamId ?? _outTeamId,
  outTeamName: outTeamName ?? _outTeamName,
  outTeamStatus: outTeamStatus ?? _outTeamStatus,
  putTeamId: putTeamId ?? _putTeamId,
  putTeamName: putTeamName ?? _putTeamName,
  putTeamStatus: putTeamStatus ?? _putTeamStatus,
  createTeamId: createTeamId ?? _createTeamId,
  createTeamName: createTeamName ?? _createTeamName,
  content: content ?? _content,
  status: status ?? _status,
  statusStr: statusStr ?? _statusStr,
  rejectReason: rejectReason ?? _rejectReason,
  solveUserIdcard: solveUserIdcard ?? _solveUserIdcard,
  solveUserName: solveUserName ?? _solveUserName,
  solveUserHeadPhoto: solveUserHeadPhoto ?? _solveUserHeadPhoto,
  areaLsgx: areaLsgx ?? _areaLsgx,
  areaXzqh: areaXzqh ?? _areaXzqh,
  selectType: selectType ?? _selectType,
  teamId: teamId ?? _teamId,
  sysUserId: sysUserId ?? _sysUserId,
  submitDate: submitDate ?? _submitDate,
  sysType: sysType ?? _sysType,
  isChange: isChange ?? _isChange,
  teamAllName: teamAllName ?? _teamAllName,
  teamAdjustEventList: teamAdjustEventList ?? _teamAdjustEventList,
);
  String? get id => _id;
  num? get isDel => _isDel;
  dynamic get createBy => _createBy;
  dynamic get updateBy => _updateBy;
  num? get createTime => _createTime;
  num? get updateTime => _updateTime;
  String? get applyUserIdcard => _applyUserIdcard;
  dynamic get applyUserName => _applyUserName;
  dynamic get applyUserPhone => _applyUserPhone;
  dynamic get applyUserHeadPhoto => _applyUserHeadPhoto;
  num? get applyType => _applyType;
  String? get applyTypeStr => _applyTypeStr;
  String? get teamType => _teamType;
  String? get outTeamId => _outTeamId;
  String? get outTeamName => _outTeamName;
  num? get outTeamStatus => _outTeamStatus;
  String? get putTeamId => _putTeamId;
  String? get putTeamName => _putTeamName;
  num? get putTeamStatus => _putTeamStatus;
  String? get createTeamId => _createTeamId;
  dynamic get createTeamName => _createTeamName;
  String? get content => _content;
  num? get status => _status;
  String? get statusStr => _statusStr;
  String? get rejectReason => _rejectReason;
  String? get solveUserIdcard => _solveUserIdcard;
  dynamic get solveUserName => _solveUserName;
  dynamic get solveUserHeadPhoto => _solveUserHeadPhoto;
  String? get areaLsgx => _areaLsgx;
  String? get areaXzqh => _areaXzqh;
  dynamic get selectType => _selectType;
  dynamic get teamId => _teamId;
  dynamic get sysUserId => _sysUserId;
  String? get submitDate => _submitDate;
  dynamic get sysType => _sysType;
  num? get isChange => _isChange;
  dynamic get teamAllName => _teamAllName;
  List<TeamAdjustEventList>? get teamAdjustEventList => _teamAdjustEventList;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['isDel'] = _isDel;
    map['createBy'] = _createBy;
    map['updateBy'] = _updateBy;
    map['createTime'] = _createTime;
    map['updateTime'] = _updateTime;
    map['applyUserIdcard'] = _applyUserIdcard;
    map['applyUserName'] = _applyUserName;
    map['applyUserPhone'] = _applyUserPhone;
    map['applyUserHeadPhoto'] = _applyUserHeadPhoto;
    map['applyType'] = _applyType;
    map['applyTypeStr'] = _applyTypeStr;
    map['teamType'] = _teamType;
    map['outTeamId'] = _outTeamId;
    map['outTeamName'] = _outTeamName;
    map['outTeamStatus'] = _outTeamStatus;
    map['putTeamId'] = _putTeamId;
    map['putTeamName'] = _putTeamName;
    map['putTeamStatus'] = _putTeamStatus;
    map['createTeamId'] = _createTeamId;
    map['createTeamName'] = _createTeamName;
    map['content'] = _content;
    map['status'] = _status;
    map['statusStr'] = _statusStr;
    map['rejectReason'] = _rejectReason;
    map['solveUserIdcard'] = _solveUserIdcard;
    map['solveUserName'] = _solveUserName;
    map['solveUserHeadPhoto'] = _solveUserHeadPhoto;
    map['areaLsgx'] = _areaLsgx;
    map['areaXzqh'] = _areaXzqh;
    map['selectType'] = _selectType;
    map['teamId'] = _teamId;
    map['sysUserId'] = _sysUserId;
    map['submitDate'] = _submitDate;
    map['sysType'] = _sysType;
    map['isChange'] = _isChange;
    map['teamAllName'] = _teamAllName;
    if (_teamAdjustEventList != null) {
      map['teamAdjustEventList'] = _teamAdjustEventList?.map((v) => v.toJson()).toList();
    }
    return map;
  }

}

/// id : "1837039762479202355"
/// isDel : 0
/// createBy : null
/// updateBy : null
/// createTime : 1726819384
/// updateTime : 1726819384
/// recordId : "1837039762416287834"
/// ststus : "-1"
/// reason : "测试"
/// remark : "发起申请"
/// submitUserIdcard : "140622200106059878"
/// submitUserName : "马伟强"
/// submitUserHeadImg : null
/// submitDate : "09.20 16:03"

class TeamAdjustEventList {
  TeamAdjustEventList({
      String? id, 
      num? isDel, 
      dynamic createBy, 
      dynamic updateBy, 
      num? createTime, 
      num? updateTime, 
      String? recordId, 
      String? ststus, 
      String? reason, 
      String? remark, 
      String? submitUserIdcard, 
      String? submitUserName, 
      dynamic submitUserHeadImg, 
      String? submitDate,}){
    _id = id;
    _isDel = isDel;
    _createBy = createBy;
    _updateBy = updateBy;
    _createTime = createTime;
    _updateTime = updateTime;
    _recordId = recordId;
    _ststus = ststus;
    _reason = reason;
    _remark = remark;
    _submitUserIdcard = submitUserIdcard;
    _submitUserName = submitUserName;
    _submitUserHeadImg = submitUserHeadImg;
    _submitDate = submitDate;
}

  TeamAdjustEventList.fromJson(dynamic json) {
    _id = json['id'];
    _isDel = json['isDel'];
    _createBy = json['createBy'];
    _updateBy = json['updateBy'];
    _createTime = json['createTime'];
    _updateTime = json['updateTime'];
    _recordId = json['recordId'];
    _ststus = json['ststus'];
    _reason = json['reason'];
    _remark = json['remark'];
    _submitUserIdcard = json['submitUserIdcard'];
    _submitUserName = json['submitUserName'];
    _submitUserHeadImg = json['submitUserHeadImg'];
    _submitDate = json['submitDate'];
  }
  String? _id;
  num? _isDel;
  dynamic _createBy;
  dynamic _updateBy;
  num? _createTime;
  num? _updateTime;
  String? _recordId;
  String? _ststus;
  String? _reason;
  String? _remark;
  String? _submitUserIdcard;
  String? _submitUserName;
  dynamic _submitUserHeadImg;
  String? _submitDate;
TeamAdjustEventList copyWith({  String? id,
  num? isDel,
  dynamic createBy,
  dynamic updateBy,
  num? createTime,
  num? updateTime,
  String? recordId,
  String? ststus,
  String? reason,
  String? remark,
  String? submitUserIdcard,
  String? submitUserName,
  dynamic submitUserHeadImg,
  String? submitDate,
}) => TeamAdjustEventList(  id: id ?? _id,
  isDel: isDel ?? _isDel,
  createBy: createBy ?? _createBy,
  updateBy: updateBy ?? _updateBy,
  createTime: createTime ?? _createTime,
  updateTime: updateTime ?? _updateTime,
  recordId: recordId ?? _recordId,
  ststus: ststus ?? _ststus,
  reason: reason ?? _reason,
  remark: remark ?? _remark,
  submitUserIdcard: submitUserIdcard ?? _submitUserIdcard,
  submitUserName: submitUserName ?? _submitUserName,
  submitUserHeadImg: submitUserHeadImg ?? _submitUserHeadImg,
  submitDate: submitDate ?? _submitDate,
);
  String? get id => _id;
  num? get isDel => _isDel;
  dynamic get createBy => _createBy;
  dynamic get updateBy => _updateBy;
  num? get createTime => _createTime;
  num? get updateTime => _updateTime;
  String? get recordId => _recordId;
  String? get ststus => _ststus;
  String? get reason => _reason;
  String? get remark => _remark;
  String? get submitUserIdcard => _submitUserIdcard;
  String? get submitUserName => _submitUserName;
  dynamic get submitUserHeadImg => _submitUserHeadImg;
  String? get submitDate => _submitDate;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['isDel'] = _isDel;
    map['createBy'] = _createBy;
    map['updateBy'] = _updateBy;
    map['createTime'] = _createTime;
    map['updateTime'] = _updateTime;
    map['recordId'] = _recordId;
    map['ststus'] = _ststus;
    map['reason'] = _reason;
    map['remark'] = _remark;
    map['submitUserIdcard'] = _submitUserIdcard;
    map['submitUserName'] = _submitUserName;
    map['submitUserHeadImg'] = _submitUserHeadImg;
    map['submitDate'] = _submitDate;
    return map;
  }

}